# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-wirerope
_pkgname=wirerope
pkgver=1.0.0
pkgrel=1
pkgdesc='Wrapper interface for python callable.'
arch=('any')
url='https://pypi.org/project/wirerope/'
license=('BSD')
depends=('python' 'python-six')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('ec6abc6a91731ae29b8597950365a5fdc92881696bba27db5823f0c3d95b07e3194523a421032cc6bbd8438404861cb212de51c3877bce50017eef259858ff36')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr --skip-build
}

